Integrand size = 40, antiderivative size = 271 \[ \int \frac {(A+B \sin (e+f x)) (c-c \sin (e+f x))^{7/2}}{(a+a \sin (e+f x))^{3/2}} \, dx=-\frac {4 (3 A-5 B) c^4 \cos (e+f x) \log (1+\sin (e+f x))}{a f \sqrt {a+a \sin (e+f x)} \sqrt {c-c \sin (e+f x)}}-\frac {2 (3 A-5 B) c^3 \cos (e+f x) \sqrt {c-c \sin (e+f x)}}{a f \sqrt {a+a \sin (e+f x)}}-\frac {(3 A-5 B) c^2 \cos (e+f x) (c-c \sin (e+f x))^{3/2}}{2 a f \sqrt {a+a \sin (e+f x)}}-\frac {(3 A-5 B) c \cos (e+f x) (c-c \sin (e+f x))^{5/2}}{6 a f \sqrt {a+a \sin (e+f x)}}-\frac {(A-B) \cos (e+f x) (c-c \sin (e+f x))^{7/2}}{2 f (a+a \sin (e+f x))^{3/2}} \]
-1/2*(A-B)*cos(f*x+e)*(c-c*sin(f*x+e))^(7/2)/f/(a+a*sin(f*x+e))^(3/2)-1/2* (3*A-5*B)*c^2*cos(f*x+e)*(c-c*sin(f*x+e))^(3/2)/a/f/(a+a*sin(f*x+e))^(1/2) -1/6*(3*A-5*B)*c*cos(f*x+e)*(c-c*sin(f*x+e))^(5/2)/a/f/(a+a*sin(f*x+e))^(1 /2)-4*(3*A-5*B)*c^4*cos(f*x+e)*ln(1+sin(f*x+e))/a/f/(a+a*sin(f*x+e))^(1/2) /(c-c*sin(f*x+e))^(1/2)-2*(3*A-5*B)*c^3*cos(f*x+e)*(c-c*sin(f*x+e))^(1/2)/ a/f/(a+a*sin(f*x+e))^(1/2)
Time = 12.84 (sec) , antiderivative size = 271, normalized size of antiderivative = 1.00 \[ \int \frac {(A+B \sin (e+f x)) (c-c \sin (e+f x))^{7/2}}{(a+a \sin (e+f x))^{3/2}} \, dx=-\frac {c^3 \left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right ) \sqrt {c-c \sin (e+f x)} \left (132 A-45 B+2 (27 A-59 B) \cos (2 (e+f x))+B \cos (4 (e+f x))+576 A \log \left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right )-960 B \log \left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right )-117 A \sin (e+f x)+279 B \sin (e+f x)+576 A \log \left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right ) \sin (e+f x)-960 B \log \left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right ) \sin (e+f x)-3 A \sin (3 (e+f x))+13 B \sin (3 (e+f x))\right )}{24 f \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right ) (a (1+\sin (e+f x)))^{3/2}} \]
-1/24*(c^3*(Cos[(e + f*x)/2] + Sin[(e + f*x)/2])*Sqrt[c - c*Sin[e + f*x]]* (132*A - 45*B + 2*(27*A - 59*B)*Cos[2*(e + f*x)] + B*Cos[4*(e + f*x)] + 57 6*A*Log[Cos[(e + f*x)/2] + Sin[(e + f*x)/2]] - 960*B*Log[Cos[(e + f*x)/2] + Sin[(e + f*x)/2]] - 117*A*Sin[e + f*x] + 279*B*Sin[e + f*x] + 576*A*Log[ Cos[(e + f*x)/2] + Sin[(e + f*x)/2]]*Sin[e + f*x] - 960*B*Log[Cos[(e + f*x )/2] + Sin[(e + f*x)/2]]*Sin[e + f*x] - 3*A*Sin[3*(e + f*x)] + 13*B*Sin[3* (e + f*x)]))/(f*(Cos[(e + f*x)/2] - Sin[(e + f*x)/2])*(a*(1 + Sin[e + f*x] ))^(3/2))
Time = 1.37 (sec) , antiderivative size = 251, normalized size of antiderivative = 0.93, number of steps used = 14, number of rules used = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.325, Rules used = {3042, 3451, 3042, 3219, 3042, 3219, 3042, 3219, 3042, 3216, 3042, 3146, 16}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {(c-c \sin (e+f x))^{7/2} (A+B \sin (e+f x))}{(a \sin (e+f x)+a)^{3/2}} \, dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \int \frac {(c-c \sin (e+f x))^{7/2} (A+B \sin (e+f x))}{(a \sin (e+f x)+a)^{3/2}}dx\) |
\(\Big \downarrow \) 3451 |
\(\displaystyle -\frac {(3 A-5 B) \int \frac {(c-c \sin (e+f x))^{7/2}}{\sqrt {\sin (e+f x) a+a}}dx}{2 a}-\frac {(A-B) \cos (e+f x) (c-c \sin (e+f x))^{7/2}}{2 f (a \sin (e+f x)+a)^{3/2}}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle -\frac {(3 A-5 B) \int \frac {(c-c \sin (e+f x))^{7/2}}{\sqrt {\sin (e+f x) a+a}}dx}{2 a}-\frac {(A-B) \cos (e+f x) (c-c \sin (e+f x))^{7/2}}{2 f (a \sin (e+f x)+a)^{3/2}}\) |
\(\Big \downarrow \) 3219 |
\(\displaystyle -\frac {(3 A-5 B) \left (2 c \int \frac {(c-c \sin (e+f x))^{5/2}}{\sqrt {\sin (e+f x) a+a}}dx+\frac {c \cos (e+f x) (c-c \sin (e+f x))^{5/2}}{3 f \sqrt {a \sin (e+f x)+a}}\right )}{2 a}-\frac {(A-B) \cos (e+f x) (c-c \sin (e+f x))^{7/2}}{2 f (a \sin (e+f x)+a)^{3/2}}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle -\frac {(3 A-5 B) \left (2 c \int \frac {(c-c \sin (e+f x))^{5/2}}{\sqrt {\sin (e+f x) a+a}}dx+\frac {c \cos (e+f x) (c-c \sin (e+f x))^{5/2}}{3 f \sqrt {a \sin (e+f x)+a}}\right )}{2 a}-\frac {(A-B) \cos (e+f x) (c-c \sin (e+f x))^{7/2}}{2 f (a \sin (e+f x)+a)^{3/2}}\) |
\(\Big \downarrow \) 3219 |
\(\displaystyle -\frac {(3 A-5 B) \left (2 c \left (2 c \int \frac {(c-c \sin (e+f x))^{3/2}}{\sqrt {\sin (e+f x) a+a}}dx+\frac {c \cos (e+f x) (c-c \sin (e+f x))^{3/2}}{2 f \sqrt {a \sin (e+f x)+a}}\right )+\frac {c \cos (e+f x) (c-c \sin (e+f x))^{5/2}}{3 f \sqrt {a \sin (e+f x)+a}}\right )}{2 a}-\frac {(A-B) \cos (e+f x) (c-c \sin (e+f x))^{7/2}}{2 f (a \sin (e+f x)+a)^{3/2}}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle -\frac {(3 A-5 B) \left (2 c \left (2 c \int \frac {(c-c \sin (e+f x))^{3/2}}{\sqrt {\sin (e+f x) a+a}}dx+\frac {c \cos (e+f x) (c-c \sin (e+f x))^{3/2}}{2 f \sqrt {a \sin (e+f x)+a}}\right )+\frac {c \cos (e+f x) (c-c \sin (e+f x))^{5/2}}{3 f \sqrt {a \sin (e+f x)+a}}\right )}{2 a}-\frac {(A-B) \cos (e+f x) (c-c \sin (e+f x))^{7/2}}{2 f (a \sin (e+f x)+a)^{3/2}}\) |
\(\Big \downarrow \) 3219 |
\(\displaystyle -\frac {(3 A-5 B) \left (2 c \left (2 c \left (2 c \int \frac {\sqrt {c-c \sin (e+f x)}}{\sqrt {\sin (e+f x) a+a}}dx+\frac {c \cos (e+f x) \sqrt {c-c \sin (e+f x)}}{f \sqrt {a \sin (e+f x)+a}}\right )+\frac {c \cos (e+f x) (c-c \sin (e+f x))^{3/2}}{2 f \sqrt {a \sin (e+f x)+a}}\right )+\frac {c \cos (e+f x) (c-c \sin (e+f x))^{5/2}}{3 f \sqrt {a \sin (e+f x)+a}}\right )}{2 a}-\frac {(A-B) \cos (e+f x) (c-c \sin (e+f x))^{7/2}}{2 f (a \sin (e+f x)+a)^{3/2}}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle -\frac {(3 A-5 B) \left (2 c \left (2 c \left (2 c \int \frac {\sqrt {c-c \sin (e+f x)}}{\sqrt {\sin (e+f x) a+a}}dx+\frac {c \cos (e+f x) \sqrt {c-c \sin (e+f x)}}{f \sqrt {a \sin (e+f x)+a}}\right )+\frac {c \cos (e+f x) (c-c \sin (e+f x))^{3/2}}{2 f \sqrt {a \sin (e+f x)+a}}\right )+\frac {c \cos (e+f x) (c-c \sin (e+f x))^{5/2}}{3 f \sqrt {a \sin (e+f x)+a}}\right )}{2 a}-\frac {(A-B) \cos (e+f x) (c-c \sin (e+f x))^{7/2}}{2 f (a \sin (e+f x)+a)^{3/2}}\) |
\(\Big \downarrow \) 3216 |
\(\displaystyle -\frac {(3 A-5 B) \left (2 c \left (2 c \left (\frac {2 a c^2 \cos (e+f x) \int \frac {\cos (e+f x)}{\sin (e+f x) a+a}dx}{\sqrt {a \sin (e+f x)+a} \sqrt {c-c \sin (e+f x)}}+\frac {c \cos (e+f x) \sqrt {c-c \sin (e+f x)}}{f \sqrt {a \sin (e+f x)+a}}\right )+\frac {c \cos (e+f x) (c-c \sin (e+f x))^{3/2}}{2 f \sqrt {a \sin (e+f x)+a}}\right )+\frac {c \cos (e+f x) (c-c \sin (e+f x))^{5/2}}{3 f \sqrt {a \sin (e+f x)+a}}\right )}{2 a}-\frac {(A-B) \cos (e+f x) (c-c \sin (e+f x))^{7/2}}{2 f (a \sin (e+f x)+a)^{3/2}}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle -\frac {(3 A-5 B) \left (2 c \left (2 c \left (\frac {2 a c^2 \cos (e+f x) \int \frac {\cos (e+f x)}{\sin (e+f x) a+a}dx}{\sqrt {a \sin (e+f x)+a} \sqrt {c-c \sin (e+f x)}}+\frac {c \cos (e+f x) \sqrt {c-c \sin (e+f x)}}{f \sqrt {a \sin (e+f x)+a}}\right )+\frac {c \cos (e+f x) (c-c \sin (e+f x))^{3/2}}{2 f \sqrt {a \sin (e+f x)+a}}\right )+\frac {c \cos (e+f x) (c-c \sin (e+f x))^{5/2}}{3 f \sqrt {a \sin (e+f x)+a}}\right )}{2 a}-\frac {(A-B) \cos (e+f x) (c-c \sin (e+f x))^{7/2}}{2 f (a \sin (e+f x)+a)^{3/2}}\) |
\(\Big \downarrow \) 3146 |
\(\displaystyle -\frac {(3 A-5 B) \left (2 c \left (2 c \left (\frac {2 c^2 \cos (e+f x) \int \frac {1}{\sin (e+f x) a+a}d(a \sin (e+f x))}{f \sqrt {a \sin (e+f x)+a} \sqrt {c-c \sin (e+f x)}}+\frac {c \cos (e+f x) \sqrt {c-c \sin (e+f x)}}{f \sqrt {a \sin (e+f x)+a}}\right )+\frac {c \cos (e+f x) (c-c \sin (e+f x))^{3/2}}{2 f \sqrt {a \sin (e+f x)+a}}\right )+\frac {c \cos (e+f x) (c-c \sin (e+f x))^{5/2}}{3 f \sqrt {a \sin (e+f x)+a}}\right )}{2 a}-\frac {(A-B) \cos (e+f x) (c-c \sin (e+f x))^{7/2}}{2 f (a \sin (e+f x)+a)^{3/2}}\) |
\(\Big \downarrow \) 16 |
\(\displaystyle -\frac {(3 A-5 B) \left (2 c \left (2 c \left (\frac {2 c^2 \cos (e+f x) \log (a \sin (e+f x)+a)}{f \sqrt {a \sin (e+f x)+a} \sqrt {c-c \sin (e+f x)}}+\frac {c \cos (e+f x) \sqrt {c-c \sin (e+f x)}}{f \sqrt {a \sin (e+f x)+a}}\right )+\frac {c \cos (e+f x) (c-c \sin (e+f x))^{3/2}}{2 f \sqrt {a \sin (e+f x)+a}}\right )+\frac {c \cos (e+f x) (c-c \sin (e+f x))^{5/2}}{3 f \sqrt {a \sin (e+f x)+a}}\right )}{2 a}-\frac {(A-B) \cos (e+f x) (c-c \sin (e+f x))^{7/2}}{2 f (a \sin (e+f x)+a)^{3/2}}\) |
-1/2*((A - B)*Cos[e + f*x]*(c - c*Sin[e + f*x])^(7/2))/(f*(a + a*Sin[e + f *x])^(3/2)) - ((3*A - 5*B)*((c*Cos[e + f*x]*(c - c*Sin[e + f*x])^(5/2))/(3 *f*Sqrt[a + a*Sin[e + f*x]]) + 2*c*((c*Cos[e + f*x]*(c - c*Sin[e + f*x])^( 3/2))/(2*f*Sqrt[a + a*Sin[e + f*x]]) + 2*c*((2*c^2*Cos[e + f*x]*Log[a + a* Sin[e + f*x]])/(f*Sqrt[a + a*Sin[e + f*x]]*Sqrt[c - c*Sin[e + f*x]]) + (c* Cos[e + f*x]*Sqrt[c - c*Sin[e + f*x]])/(f*Sqrt[a + a*Sin[e + f*x]])))))/(2 *a)
3.2.80.3.1 Defintions of rubi rules used
Int[(c_.)/((a_.) + (b_.)*(x_)), x_Symbol] :> Simp[c*(Log[RemoveContent[a + b*x, x]]/b), x] /; FreeQ[{a, b, c}, x]
Int[cos[(e_.) + (f_.)*(x_)]^(p_.)*((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m _.), x_Symbol] :> Simp[1/(b^p*f) Subst[Int[(a + x)^(m + (p - 1)/2)*(a - x )^((p - 1)/2), x], x, b*Sin[e + f*x]], x] /; FreeQ[{a, b, e, f, m}, x] && I ntegerQ[(p - 1)/2] && EqQ[a^2 - b^2, 0] && (GeQ[p, -1] || !IntegerQ[m + 1/ 2])
Int[Sqrt[(a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]]/Sqrt[(c_) + (d_.)*sin[(e_.) + (f_.)*(x_)]], x_Symbol] :> Simp[a*c*(Cos[e + f*x]/(Sqrt[a + b*Sin[e + f*x ]]*Sqrt[c + d*Sin[e + f*x]])) Int[Cos[e + f*x]/(c + d*Sin[e + f*x]), x], x] /; FreeQ[{a, b, c, d, e, f}, x] && EqQ[b*c + a*d, 0] && EqQ[a^2 - b^2, 0 ]
Int[((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_)*((c_) + (d_.)*sin[(e_.) + ( f_.)*(x_)])^(n_), x_Symbol] :> Simp[(-b)*Cos[e + f*x]*(a + b*Sin[e + f*x])^ (m - 1)*((c + d*Sin[e + f*x])^n/(f*(m + n))), x] + Simp[a*((2*m - 1)/(m + n )) Int[(a + b*Sin[e + f*x])^(m - 1)*(c + d*Sin[e + f*x])^n, x], x] /; Fre eQ[{a, b, c, d, e, f, n}, x] && EqQ[b*c + a*d, 0] && EqQ[a^2 - b^2, 0] && I GtQ[m - 1/2, 0] && !LtQ[n, -1] && !(IGtQ[n - 1/2, 0] && LtQ[n, m]) && !( ILtQ[m + n, 0] && GtQ[2*m + n + 1, 0])
Int[((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_)*((A_.) + (B_.)*sin[(e_.) + (f_.)*(x_)])*((c_) + (d_.)*sin[(e_.) + (f_.)*(x_)])^(n_.), x_Symbol] :> Sim p[(A*b - a*B)*Cos[e + f*x]*(a + b*Sin[e + f*x])^m*((c + d*Sin[e + f*x])^n/( a*f*(2*m + 1))), x] + Simp[(a*B*(m - n) + A*b*(m + n + 1))/(a*b*(2*m + 1)) Int[(a + b*Sin[e + f*x])^(m + 1)*(c + d*Sin[e + f*x])^n, x], x] /; FreeQ[ {a, b, c, d, e, f, A, B, m, n}, x] && EqQ[b*c + a*d, 0] && EqQ[a^2 - b^2, 0 ] && (LtQ[m, -2^(-1)] || (ILtQ[m + n, 0] && !SumSimplerQ[n, 1])) && NeQ[2* m + 1, 0]
Time = 2.97 (sec) , antiderivative size = 293, normalized size of antiderivative = 1.08
method | result | size |
default | \(-\frac {c^{3} \sec \left (f x +e \right ) \left (-2 B \left (\sin ^{2}\left (f x +e \right )\right ) \left (\cos ^{2}\left (f x +e \right )\right )+3 \left (\sin ^{3}\left (f x +e \right )\right ) A -13 B \left (\sin ^{3}\left (f x +e \right )\right )-27 \left (\sin ^{2}\left (f x +e \right )\right ) A +144 A \sin \left (f x +e \right ) \ln \left (-\cot \left (f x +e \right )+\csc \left (f x +e \right )+1\right )-72 A \sin \left (f x +e \right ) \ln \left (\frac {2}{1+\cos \left (f x +e \right )}\right )+59 B \left (\sin ^{2}\left (f x +e \right )\right )-240 B \sin \left (f x +e \right ) \ln \left (-\cot \left (f x +e \right )+\csc \left (f x +e \right )+1\right )+120 B \sin \left (f x +e \right ) \ln \left (\frac {2}{1+\cos \left (f x +e \right )}\right )-78 A \sin \left (f x +e \right )+144 A \ln \left (-\cot \left (f x +e \right )+\csc \left (f x +e \right )+1\right )-72 A \ln \left (\frac {2}{1+\cos \left (f x +e \right )}\right )+120 B \sin \left (f x +e \right )-240 B \ln \left (-\cot \left (f x +e \right )+\csc \left (f x +e \right )+1\right )+120 B \ln \left (\frac {2}{1+\cos \left (f x +e \right )}\right )\right ) \sqrt {-c \left (\sin \left (f x +e \right )-1\right )}}{6 a f \sqrt {a \left (1+\sin \left (f x +e \right )\right )}}\) | \(293\) |
parts | \(\frac {A \sec \left (f x +e \right ) \left (\left (\cos ^{2}\left (f x +e \right )\right ) \sin \left (f x +e \right )-48 \ln \left (-\cot \left (f x +e \right )+\csc \left (f x +e \right )+1\right ) \sin \left (f x +e \right )+24 \ln \left (\frac {2}{1+\cos \left (f x +e \right )}\right ) \sin \left (f x +e \right )-9 \left (\cos ^{2}\left (f x +e \right )\right )+25 \sin \left (f x +e \right )-48 \ln \left (-\cot \left (f x +e \right )+\csc \left (f x +e \right )+1\right )+24 \ln \left (\frac {2}{1+\cos \left (f x +e \right )}\right )+9\right ) \sqrt {-c \left (\sin \left (f x +e \right )-1\right )}\, c^{3}}{2 f \sqrt {a \left (1+\sin \left (f x +e \right )\right )}\, a}-\frac {B \sec \left (f x +e \right ) \left (2 \left (\cos ^{4}\left (f x +e \right )\right )+13 \left (\cos ^{2}\left (f x +e \right )\right ) \sin \left (f x +e \right )+120 \ln \left (\frac {2}{1+\cos \left (f x +e \right )}\right ) \sin \left (f x +e \right )-240 \ln \left (-\cot \left (f x +e \right )+\csc \left (f x +e \right )+1\right ) \sin \left (f x +e \right )-61 \left (\cos ^{2}\left (f x +e \right )\right )+120 \ln \left (\frac {2}{1+\cos \left (f x +e \right )}\right )-240 \ln \left (-\cot \left (f x +e \right )+\csc \left (f x +e \right )+1\right )+107 \sin \left (f x +e \right )+59\right ) \sqrt {-c \left (\sin \left (f x +e \right )-1\right )}\, c^{3}}{6 f \sqrt {a \left (1+\sin \left (f x +e \right )\right )}\, a}\) | \(329\) |
-1/6*c^3/a/f*sec(f*x+e)*(-2*B*sin(f*x+e)^2*cos(f*x+e)^2+3*sin(f*x+e)^3*A-1 3*B*sin(f*x+e)^3-27*sin(f*x+e)^2*A+144*A*sin(f*x+e)*ln(-cot(f*x+e)+csc(f*x +e)+1)-72*A*sin(f*x+e)*ln(2/(1+cos(f*x+e)))+59*B*sin(f*x+e)^2-240*B*sin(f* x+e)*ln(-cot(f*x+e)+csc(f*x+e)+1)+120*B*sin(f*x+e)*ln(2/(1+cos(f*x+e)))-78 *A*sin(f*x+e)+144*A*ln(-cot(f*x+e)+csc(f*x+e)+1)-72*A*ln(2/(1+cos(f*x+e))) +120*B*sin(f*x+e)-240*B*ln(-cot(f*x+e)+csc(f*x+e)+1)+120*B*ln(2/(1+cos(f*x +e))))*(-c*(sin(f*x+e)-1))^(1/2)/(a*(1+sin(f*x+e)))^(1/2)
\[ \int \frac {(A+B \sin (e+f x)) (c-c \sin (e+f x))^{7/2}}{(a+a \sin (e+f x))^{3/2}} \, dx=\int { \frac {{\left (B \sin \left (f x + e\right ) + A\right )} {\left (-c \sin \left (f x + e\right ) + c\right )}^{\frac {7}{2}}}{{\left (a \sin \left (f x + e\right ) + a\right )}^{\frac {3}{2}}} \,d x } \]
integrate((A+B*sin(f*x+e))*(c-c*sin(f*x+e))^(7/2)/(a+a*sin(f*x+e))^(3/2),x , algorithm="fricas")
integral((B*c^3*cos(f*x + e)^4 + (3*A - 5*B)*c^3*cos(f*x + e)^2 - 4*(A - B )*c^3 - ((A - 3*B)*c^3*cos(f*x + e)^2 - 4*(A - B)*c^3)*sin(f*x + e))*sqrt( a*sin(f*x + e) + a)*sqrt(-c*sin(f*x + e) + c)/(a^2*cos(f*x + e)^2 - 2*a^2* sin(f*x + e) - 2*a^2), x)
Timed out. \[ \int \frac {(A+B \sin (e+f x)) (c-c \sin (e+f x))^{7/2}}{(a+a \sin (e+f x))^{3/2}} \, dx=\text {Timed out} \]
\[ \int \frac {(A+B \sin (e+f x)) (c-c \sin (e+f x))^{7/2}}{(a+a \sin (e+f x))^{3/2}} \, dx=\int { \frac {{\left (B \sin \left (f x + e\right ) + A\right )} {\left (-c \sin \left (f x + e\right ) + c\right )}^{\frac {7}{2}}}{{\left (a \sin \left (f x + e\right ) + a\right )}^{\frac {3}{2}}} \,d x } \]
integrate((A+B*sin(f*x+e))*(c-c*sin(f*x+e))^(7/2)/(a+a*sin(f*x+e))^(3/2),x , algorithm="maxima")
Time = 0.40 (sec) , antiderivative size = 394, normalized size of antiderivative = 1.45 \[ \int \frac {(A+B \sin (e+f x)) (c-c \sin (e+f x))^{7/2}}{(a+a \sin (e+f x))^{3/2}} \, dx=\frac {\sqrt {2} \sqrt {c} {\left (\frac {6 \, {\left (3 \, \sqrt {2} A \sqrt {a} c^{3} \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) - 5 \, \sqrt {2} B \sqrt {a} c^{3} \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )\right )} \log \left (-\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2} + 1\right )}{a^{2} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )} - \frac {6 \, {\left (\sqrt {2} A \sqrt {a} c^{3} \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) - \sqrt {2} B \sqrt {a} c^{3} \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )\right )}}{{\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2} - 1\right )} a^{2} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )} - \frac {\sqrt {2} {\left (4 \, B a^{\frac {9}{2}} c^{3} \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{6} - 3 \, A a^{\frac {9}{2}} c^{3} \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{4} + 9 \, B a^{\frac {9}{2}} c^{3} \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{4} - 12 \, A a^{\frac {9}{2}} c^{3} \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2} + 24 \, B a^{\frac {9}{2}} c^{3} \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2}\right )}}{a^{6} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )}\right )}}{3 \, f} \]
integrate((A+B*sin(f*x+e))*(c-c*sin(f*x+e))^(7/2)/(a+a*sin(f*x+e))^(3/2),x , algorithm="giac")
1/3*sqrt(2)*sqrt(c)*(6*(3*sqrt(2)*A*sqrt(a)*c^3*sgn(sin(-1/4*pi + 1/2*f*x + 1/2*e)) - 5*sqrt(2)*B*sqrt(a)*c^3*sgn(sin(-1/4*pi + 1/2*f*x + 1/2*e)))*l og(-sin(-1/4*pi + 1/2*f*x + 1/2*e)^2 + 1)/(a^2*sgn(cos(-1/4*pi + 1/2*f*x + 1/2*e))) - 6*(sqrt(2)*A*sqrt(a)*c^3*sgn(sin(-1/4*pi + 1/2*f*x + 1/2*e)) - sqrt(2)*B*sqrt(a)*c^3*sgn(sin(-1/4*pi + 1/2*f*x + 1/2*e)))/((sin(-1/4*pi + 1/2*f*x + 1/2*e)^2 - 1)*a^2*sgn(cos(-1/4*pi + 1/2*f*x + 1/2*e))) - sqrt( 2)*(4*B*a^(9/2)*c^3*sgn(sin(-1/4*pi + 1/2*f*x + 1/2*e))*sin(-1/4*pi + 1/2* f*x + 1/2*e)^6 - 3*A*a^(9/2)*c^3*sgn(sin(-1/4*pi + 1/2*f*x + 1/2*e))*sin(- 1/4*pi + 1/2*f*x + 1/2*e)^4 + 9*B*a^(9/2)*c^3*sgn(sin(-1/4*pi + 1/2*f*x + 1/2*e))*sin(-1/4*pi + 1/2*f*x + 1/2*e)^4 - 12*A*a^(9/2)*c^3*sgn(sin(-1/4*p i + 1/2*f*x + 1/2*e))*sin(-1/4*pi + 1/2*f*x + 1/2*e)^2 + 24*B*a^(9/2)*c^3* sgn(sin(-1/4*pi + 1/2*f*x + 1/2*e))*sin(-1/4*pi + 1/2*f*x + 1/2*e)^2)/(a^6 *sgn(cos(-1/4*pi + 1/2*f*x + 1/2*e))))/f
Timed out. \[ \int \frac {(A+B \sin (e+f x)) (c-c \sin (e+f x))^{7/2}}{(a+a \sin (e+f x))^{3/2}} \, dx=\int \frac {\left (A+B\,\sin \left (e+f\,x\right )\right )\,{\left (c-c\,\sin \left (e+f\,x\right )\right )}^{7/2}}{{\left (a+a\,\sin \left (e+f\,x\right )\right )}^{3/2}} \,d x \]